<{extend name="public/layout"}>

<{block name="h1"}>自动回复<{/block}>

<{block name="breadcrumb"}>
<li class="active">自动回复</li>
<{/block}>

<{block name="content"}>
<div class="row">
    <div class="col-xs-12">
        <div class="box box-primary">
            <div class="box-body">
                <form action="" method="post" onsubmit="return false;" class="form-horizontal" id="form-edit">
                    <div class="form-group">
                        <label for="content" class="control-label col-xs-12 col-sm-2">问候语</label>
                        <div class="col-xs-12 col-sm-10">
                            <textarea name="content" id="content" rows="10" class="form-control"><{$row.value->content|default='欢迎使用LiveChat'}></textarea>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">状态</label>
                        <div class="col-xs-12 col-sm-10">
                            <label><input type="radio" class="minimal" value="normal" name="status" <{eq name="$row.value->status" value="normal"}>checked<{/eq}>> 启用</label>
                            <label><input type="radio" class="minimal" value="hidden" name="status" <{eq name="$row.value->status" value="hidden"}>checked<{/eq}>> 禁用</label>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="row">
                            <div class="col-xs-offset-3">
                                <button type="submit" class="btn btn-primary" id="btn-submit">提交</button>
                                <button class="btn btn-default btn-back">返回</button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<{/block}>